package com.mayisoftware.mayioa.business.staff.api.service;

import com.mayisoftware.mayioa.business.staff.api.domain.StaffUploadInfo;
import com.mayisoftware.mayioa.business.staff.api.domain.StaffUploadSearchInfo;

import java.util.Date;
import java.util.List;

public interface IStaffUploadService {

     /**
      * 查询传入的工时文件
      */
     int insertImportOneRecord(StaffUploadInfo uploadInfo);


     /**
      * 查询传入的工时文件
      */
     List<StaffUploadInfo> queryRecordList(StaffUploadSearchInfo uploadInfo);


     /**
      * 根据ID查询记录信息
      */
     List<StaffUploadInfo> queryRecordListById(String recordId);

     /**
      * 查询需要解析的记录
      */
     List<StaffUploadInfo> queryRecordListNeedParse();

     /**
      * 更新上传记录
      */
     int editInputRecord(StaffUploadInfo record);


     String getCheckPeriod(Date invalidDate);

     List<StaffUploadInfo> queryRecordList1(StaffUploadInfo record);

     List<StaffUploadInfo> queryRecordListById1(String id);
}
